################################################################
# This is simply example od string
################################################################

str = 'Hello World!'

print str          # Prints complete string
print str[0]       # Prints first character of the string
print str[2:5]     # Prints characters starting from 3rd to 5th
print str[2:]      # Prints string starting from 3rd character
print str * 2      # Prints string two times
print str + "TEST" # Prints concatenated string

################################################################

print '{0} and {1}'.                 format('spam', 'eggs')
print 'We are the {} who say "{}!"' .format('knights', 'Ni')
print "string_1" + "string_2"
print "test {}"                     .format("OK")
print "test {!r}"                   .format("OK")

